//
//  MainInfoTitleFields.m
//  duzhoumo
//
//  Created by 度周末网络-王腾 on 15/11/18.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import "MainInfoTitleFields.h"

@implementation MainInfoTitleFields

+(MainInfoTitleFields *)getInstaceWithText:(NSString *)text hexColor:(NSString *)hexColor fontSize:(NSString *)fontSize{
    MainInfoTitleFields *mainInfoTitleFields = [[MainInfoTitleFields alloc ] init];
    mainInfoTitleFields.Text = text;
    mainInfoTitleFields.Color= hexColor;
    mainInfoTitleFields.fontSize=fontSize;
    mainInfoTitleFields.isLine = NO;
    return mainInfoTitleFields;
}


+(MainInfoTitleFields *)getInstaceWithText:(NSString *)text hexColor:(NSString *)hexColor fontSize:(NSString *)fontSize isLine:(BOOL)isLine{
    MainInfoTitleFields *mainInfoTitleFields = [[MainInfoTitleFields alloc ] init];
    mainInfoTitleFields.Text = text;
    mainInfoTitleFields.Color= hexColor;
    mainInfoTitleFields.fontSize=fontSize;
    mainInfoTitleFields.isLine = isLine;
    return mainInfoTitleFields;
}

@end
